package org.jeecg.api.dto.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author zhongchao
 * @tile AutoDto
 * @date 2020/8/23
 * @since v1.0.0
 */
@Data
@ApiModel(value = "AuthDto", description = "实名认证请求对象")
public class AuthDto {

    private String userId;

    @ApiModelProperty("姓名")
    @NotNull
    @Max(13)
    private String userName;

    @ApiModelProperty("身份证号码")
    @NotNull
    @Max(18)
    private String idCard;

    @ApiModelProperty("身份证正面照片")
    @NotNull
    private String idCardHome;

    @ApiModelProperty("身份证反面照片")
    @NotNull
    private String idCardReverse;

}
